package org.bluesky.framework.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.bluesky.framework.entity.Menu;
import org.bluesky.framework.vo.MenuVo;

import java.util.List;


/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author makejava
 * @since 2023-02-20 20:32:52
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> selectPermissionByUserId(Long userId);

    List<MenuVo> selectRouterMenuTreeByUserId(Long userId);

    List<MenuVo> selectAllRouterMenu();
}

